﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DCT.Model
{
    public class DeviceBaseGraphModel : ModelBase
    {
        public DeviceBaseGraphModel()
        {
            _graph = new Graph();
        }

        public DeviceBaseGraphModel(Graph graph)
        {
            _graph = graph;
        }

        protected Graph _graph;

        #region Properties

        public Graph Graph
        {
            get
            {
                return _graph;
            }
        }

        public int DeviceID
        {
            get
            {
                return _graph.DeviceID;
            }
            set
            {
                _graph.DeviceID = value;
            }
        }

        public string DeviceName
        {
            get
            {
                return _graph.DeviceName;
            }
            set
            {
                _graph.DeviceName = value;
            }
        }

        public string GraphType
        {
            get
            {
                return _graph.ViewType;
            }
            set
            {
                _graph.ViewType = value;
            }
        }

        public string PositionPoint
        {
            get
            {
                return _graph.PositionPoint;
            }
            set
            {
                _graph.PositionPoint = value;
            }
        }

        public int DeviceWidth
        {
            get
            {
                return _graph.DeviceWidth;
            }
            set
            {
                _graph.DeviceWidth = value;
            }
        }

        public int DeviceHeight
        {
            get
            {
                return _graph.DeviceHeight;
            }
            set
            {
                _graph.DeviceHeight = value;
            }
        }

        public int DeviceAngle
        {
            get
            {
                return _graph.DeviceAngle;
            }
            set
            {
                _graph.DeviceAngle = value;
            }
        }

        #endregion // Properties

        #region Methods

        //public DeviceBaseGraphModel Clone()
        //{
        //    return (DeviceBaseGraphModel)this.MemberwiseClone();
        //}

        #endregion
    }
}
